/**
 * @author wz<br>
 * @version 1.0<br>
 * @ClassName MealBuilder
 * @<Description> TODO
 * @date 2021/12/8 11:30<br>
 */
public class MealBuilder {
  //只需要在这里改变组合
  public Meal prepareVegMeal(){
    Meal meal=new Meal();
    meal.addItem(new VegBurger());
    meal.addItem(new Coke());
    return meal;
  }

  public Meal prepareNonVegMeal(){
    Meal meal=new Meal();
    meal.addItem(new ChickenBurger());
    meal.addItem(new Pepsi());
    return meal;
  }

}
